package com.aspose.cells;

import java.util.HashMap;

class zcat extends zcdb {
   private static final com.aspose.cells.b.c.a.za a = new com.aspose.cells.b.c.a.za(new String[]{"#NULL!", "#DIV/0!", "#VALUE!", "#REF!", "#NAME?", "#NUM!", "#N/A"});

   void a(Cell var1, HashMap var2) {
      this.d = 3;
      this.c = new byte[9];
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.getColumn()), 0, this.c, 0, 4);
      int var3 = (Integer)var2.get(var1.r());
      System.arraycopy(com.aspose.cells.b.a.zc.a(var3), 0, this.c, 4, 4);
      switch(a.a(var1.j())) {
      case 0:
         this.c[8] = 0;
         break;
      case 1:
         this.c[8] = 7;
         break;
      case 2:
         this.c[8] = 15;
         break;
      case 3:
         this.c[8] = 23;
         break;
      case 4:
         this.c[8] = 29;
         break;
      case 5:
         this.c[8] = 36;
         break;
      case 6:
         this.c[8] = 42;
      }

   }
}
